﻿using Entity.Models.Entities;
using System;
using System.Collections.Generic;
using System.Text;

namespace Entity.Models.dto
{
    /// <summary>
    /// 耗材分类dto类
    /// </summary>
    public class CategoryDTO
    {
 
        public string Id { get; set; }

        /// <summary>
        /// 类别名称
        /// </summary>
        public string _categoryName { get; set; }

        /// <summary>
        /// 描述
        /// </summary>
        public string _description { get; set; }

        public CategoryDTO(Category category)
        {
            Id = category.Id;
            _categoryName = category.CategoryName;
            _description = category.Description;
        }

        public CategoryDTO()
        {
        }
    }
}
